﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SWEN3Application
{
    public partial class MasterForm : Form
    {
        public MasterForm()
        {
            InitializeComponent();
            this.MaximizeBox = false;
        }

        private void logoutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
        }

        private void housekeepingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Housekeeping h = new Housekeeping();
            h.Show();
            this.Hide();
        }

        private void reportsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Report r = new Report();
            r.Show();
            this.Hide();
        }

        private void checkInToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CheckIn ci = new CheckIn();
            ci.Show();
            this.Hide();
        }

        private void checkRoomAvailabilityToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RoomInfo cr = new RoomInfo();
            cr.Show();
        }

        private void checkOutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CheckOut co = new CheckOut();
            co.Show();
            this.Hide();
        }

        private void bookingDetailsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ManageBooking mb = new ManageBooking();
            mb.Show();
            this.Hide();
        }

        private void manageUserAccountToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AuthenticationForManageUserAccount au = new AuthenticationForManageUserAccount();
            au.Show();
            this.Hide();
         //   UserAccountManagement uam = new UserAccountManagement();
         //   uam.Show();
         //   this.Hide();
        }

        private void staffManagementToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AuthenticationforStaffManagement asm = new AuthenticationforStaffManagement();
            asm.Show();
            this.Hide();
        }

        private void roomManagementToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RoomManagement rm = new RoomManagement();
            rm.Show();
            this.Hide();
        }
    }
}
